package com.fmdj.mis.api.feign;

import com.fmdj.common.util.CommonResult;
import com.fmdj.mis.api.controller.form.SearchOrderGpsForm;
import com.fmdj.mis.api.controller.form.SearchOrderLastGpsForm;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;
import java.util.ArrayList;
import java.util.HashMap;

@FeignClient("fmdj-nebula")
public interface NebulaServiceApi {
    @PostMapping("/order/gps/searchOrderGps")
    public CommonResult searchOrderGps(@RequestBody @Valid SearchOrderGpsForm form);

    @PostMapping("/order/gps/searchOrderLastGps")
    public CommonResult searchOrderLastGps(@RequestBody @Valid SearchOrderLastGpsForm form);
}
